package run.halo.app.enums;

import lombok.Data;


public enum ToDoStatusEnum {

    DOING(0, "进行中"),
    FINISHED(1, "已完成"),
    EXPIRED(2, "过期"),
    DELETED(3, "已删除");

    ToDoStatusEnum(Integer code, String desc) {

        this.code = code;
        this.desc = desc;
    }

    final Integer code;
    final String desc;

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
